package ${package}.${rootArtifactId}.common.model;

import lombok.Data;

import java.io.Serializable;

/**
 * 查询基本参数
 *
 * @author weidong.lin
 * @date 2021/7/13 15:36
 */
@Data
public class BaseTableQueryParam implements Serializable {
    private static final long serialVersionUID = 8608624611963464310L;

    /**
     * page
     */
    private Integer pageNum;

    /**
     * pageSize
     */
    private Integer pageSize;

    /**
     * mysql分页 offset 默认0
     */
    private Integer offset = 0;

    /**
     * mysql分页 limit 默认30
     */
    private Integer limit = 30;
}
